package principle.ocp.code;

/**
 * Client
 *
 * @author l56jq
 * @since 2023/11/6 16:30
 */
public class Client {
    public static void main(String[] args) {
        // 1 创建输入法
        SouGouInput input = new SouGouInput();
        // 2 创建皮肤
        // AbstractSkin skin = new DefaultSpecificSkin();
        AbstractSkin skin = new HeimaSpecificSkin();
        // 3 设置皮肤
        input.setSkin(skin);
        // 4 显示皮肤
        input.skinDisplay();
    }
}
